//侧栏
#celan {
    position: fixed;
    top: 40%;
    right: 0;
}

#celan li {
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: brown;
    overflow: hidden;

    &:hover img {
        display: none;

    }

    img {
        // display: none;
        width: 100%;
        height: 100%;
    }

    span {
        width: 100%;
        height: 100%;
        line-height: 40px;
        color: aliceblue;
    }

}

//轮播图css
html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: #007aff;
}

/* 轮播图样式大小 */
.mySwiper {
    width: 1200px;
    height: 400px;
    position: relative;
    margin-top: 30px;
}


.paging_list {
    //渲染的ul区域
    width: 1200px;
    height: 600px;
    // background-color: #007aff;
    margin-top: 20px;

    li {
        width: 20%;
        height: 300px;
        background-color: #fff;
        float: left;
        position: relative;
    }

    li .pic {
        height: 180px;
        position: relative;
        padding: 0 10px;
        left: 20%;
    }

    li .pic img {
        width: 160px;
        height: 160px;
        position: absolute;

        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    li p {
        font-size: 14px;
        text-align: center;
        line-height: 26px;
        margin: 0 auto;

    }

    li p.price {
        color: #ff6700;
        margin-left: 50%;

    }

    li #b {
        display: block !important;
        margin: 10px auto;
        width: 100px;
        height: 25px;
        position: absolute;
        bottom: 5px;
        left: 56%;
        margin-left: -50px;

    }

    .title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        width: 180px;
        margin-left: 25%;
    }
}

/*分页插件样式*/

.paging_content .paging_btn {
    display: flex;
    justify-content: space-around;
}

.paging_btn span:hover {
    background-color: #b6b6b6;
    color: #fff;
}

.paging_active {
    background-color: #b6b6b6;
    color: #fff;
}

.paging_btn span {
    width: 40px;
    height: 40px;
    color: #333;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: .5s;
    border: 1px solid #ccc;
    border-right: 0;
}

.paging_btn span:nth-last-child {
    border: 1px solid #ccc;
}

.paging_content {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    width: 1000px;
    background-color: #e5e5e5;
    margin: 20px auto;
}

.paging_first,
.paging_last,
.paging_up,
.paging_down {
    width: 60px;
    height: 40px;
    line-height: 40px;
    color: #333;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    border-right: 0;
}

.paging_last {
    border: 1px solid #ccc;
    margin-right: 10px;
}

.paging_first:hover,
.paging_last:hover,
.paging_up:hover,
.paging_down:hover {
    background-color: #b6b6b6;
    color: #fff;
}

.paging_Btn p {
    color: red;
}

.paging_textBox {
    margin-right: 10px;
    color: #585858;
    font-size: 18px;
}

.paging_textBox input {
    margin: 0 2px;
    width: 50px;
    height: 38px;
    border: 1px solid #ccc;
    outline: none;
}

.paging_textBox>button {
    width: 50px;
    height: 38px;
    cursor: pointer;
    color: #333;
    border: 1px solid #ccc;
    transition: .5s;
    margin-left: 10px;
    outline: none;
}

.paging_textBox>button:hover {
    background: #b6b6b6;
}

.paging_max {
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #8b8b8b;
}

/* 注意!! 这个两个样式是一些效果必备的! */
.paging_none {
    display: none !important;
}

.paging_btn_none_block {
    display: block !important;
}

